
#ifndef OBJECT_INSPECTOR_ITEM
#define OBJECT_INSPECTOR_ITEM
#include <sdk_global.h>
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtGui/QIcon>
#include <QSharedPointer>
#include <QStandardItem>
#include <EObject.h>
class QDESIGNER_SDK_EXPORT ObjectInspectorItem : public QStandardItem
{
public:

    ObjectInspectorItem(const QString &text);

    virtual ~ObjectInspectorItem();
    void setObjectPtr(QSharedPointer<EObject> osgObjectQt);
    QSharedPointer<EObject> getObjectPtr();
    void setHasExpanded(bool boolValue);
    bool getHasExpanded();

    void removeFromParent();
    void changeParent(QStandardItem* parentItem);
    void takeFromParent();
private:
    QSharedPointer<EObject> m_eObject;
    bool m_hasExpanded;
};

#endif // OBJECT_INSPECTOR_ITEM
